﻿#ifndef OFFICE_H
#define OFFICE_H

#include "abstractcomponent.h"

class Office : public AbstractComponent
{
public:
    explicit Office(QString name);

    void add(AbstractComponent* component);

    void remove(AbstractComponent* component);

    AbstractComponent* getComponent(int i);
};

#endif // OFFICE_H
